package Cafezam;

public class J15Ex04Extends {

}
class A{
	private int n;
	public int getN(){return n;}
	public void setN(int i){this.n=i;}
}


class B extends A{
	public String s;
	private int n;
	public int m;
	private char c;
	public void setN(int i)
	{
		n=i;
	}
	public void setC(char ch){
		c=ch;
	}
	public char getC()
	{
		return c;
	}
	public int getN(){
		return n;
	}
}	
class C extends B{
	public String s;
	private char c;
	private int n;
	public int m;
	public double d;
	
}